<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="spark" uri="http://www.representqueens.com/taglibs/spark" %>
<!-- Page variables starts-->
<c:set var="test" value="5,5" />
<!-- Page variables end-->

<table>
	<tr>
		<td class="sectionheading bottom-border">
				<b>User Registration Daily Statistics</b>
			<s:text name="totalUserRegistered" /> Users registered during this time period.
			<br>
			<br>
		</td>
		</tr>
		<tr>
		<td>
			<table width="100%" class="Textfiled-border" cellpadding="0" cellspacing="0">
				<tr height="25">
					<td align="center" bgcolor="#E9E9E9"
							class="right-border verdana12darkgreybold">
					  	#
					</td>
					<td align="center" bgcolor="#E9E9E9"
							class="right-border verdana12darkgreybold">
						<b>Date</b>
					</td>
					<td align="center" bgcolor="#E9E9E9"
							class="right-border verdana12darkgreybold">
						<b>Count</b>
					</td>
					<td align="center" bgcolor="#E9E9E9"
							class="right-border verdana12darkgreybold">
						<b>Graph</b>
					</td>
				</tr>
				<s:iterator value="list"  var="testList">
				<tr>
					<td align="center" class="right-border verdana12blacknormal"><s:property value="id"/>
					</td>
					<td align="center" class="right-border verdana12blacknormal">
						<s:date name="date" format="yyyy-MM-dd"/>
					</td>
					<td align="center" class="right-border verdana12blacknormal">
						<s:property value="count"/>
					</td>
					<td class="right-border verdana12blacknormal">
						 <img src="<spark:line name="test" color="red"  width="${count*40}" height="7" background="red"/>" />
					</td>
				</tr>
				</s:iterator>
			</table>
		</td>
	</tr>
</TABLE>